package com.example.hrms.entity;

import java.sql.Timestamp;

public class User {
    private int Uid;
    private String Username;
    private String Password;
    private Timestamp Create_time;
    private Timestamp Modify_time;
    private int Role_id;

    public User(String username, String password, Timestamp create_time, int Role_id) {
        Username = username;
        Password = password;
        Create_time = create_time;
        this.Role_id = Role_id;
    }
    public User(){}

    @Override
    public String toString() {
        return "User{" +
                "Uid=" + Uid +
                ", Username='" + Username + '\'' +
                ", Password='" + Password + '\'' +
                ", Create_time=" + Create_time +
                ", Modify_time=" + Modify_time +
                ", Role_id=" + Role_id +
                '}';
    }

    public int getUid() {
        return Uid;
    }

    public void setUid(int uid) {
        Uid = uid;
    }

    public String getUsername() {
        return Username;
    }

    public void setUsername(String username) {
        Username = username;
    }

    public String getPassword() {
        return Password;
    }

    public void setPassword(String password) {
        Password = password;
    }

    public Timestamp getCreate_time() {
        return Create_time;
    }

    public void setCreate_time(Timestamp create_time) {
        Create_time = create_time;
    }

    public Timestamp getModify_time() {
        return Modify_time;
    }

    public void setModify_time(Timestamp modify_time) {
        Modify_time = modify_time;
    }

    public int getRole_id() {
        return Role_id;
    }

    public void setRole_id(int Role_id) {
        this.Role_id = Role_id;
    }
}
